<?php

namespace App\Repositories;

use App\Models\SysComment;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class SysCommentRepository
 * @package App\Repositories
 * @version July 29, 2018, 9:14 am UTC
 *
 * @method SysComment findWithoutFail($id, $columns = ['*'])
 * @method SysComment find($id, $columns = ['*'])
 * @method SysComment first($columns = ['*'])
*/
class SysCommentRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'title',
        'content',
        'min_score',
        'max_score'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return SysComment::class;
    }
}
